package com.example.card.transactionimplementation;

import com.example.card.implemention.ExpireNoDate;
import com.example.card.abstracttransactions.AddCardTransaction;
import com.example.card.domain.card.CardClassification;
import com.example.card.domain.card.ExpireDataLimit;

import static com.example.card.CardConstant.*;

public class AddBlue0CardTransaction extends AddCardTransaction {


    public AddBlue0CardTransaction(int id, int balance) {
        super(id, balance);
    }

    @Override
    public int getCardFunction() {
        return ENABLE_CHARGE | ENABLE_OIL_CODE | ENABLE_STORE_CODE ;
    }

    @Override
    public int getCardOilLabel() {
        return OIL_LABEL_0;
    }

    @Override
    public String getCardName() {
        return "蓝卡0#柴油";
    }

    @Override
    public  String getCardNoPrefix() {
        return "6003";
    }

    @Override
    public  Integer getType() {
        return CARD_BLUE_0;
    }

    @Override
    public CardClassification getCardClassification() {
        return null;
    }



    @Override
    public ExpireDataLimit getExpireDataLimit() {
        return new ExpireNoDate();
    }
}
